package me.zhengjie.poemQuestions.domain.model;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;
/**
 * 用户答题记录数据传输模型
 */
@Data
public class UserAnswerModel {
    @ApiModelProperty("记录ID")
    private Integer recordId;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("题目ID")
    private Integer questionId;

    @ApiModelProperty("用户答案")
    private String userAnswer;

    @ApiModelProperty("是否正确")
    private Boolean isCorrect;

    @ApiModelProperty("获得积分")
    private Integer earnedPoints;

    @ApiModelProperty("答题时间")
    private Timestamp answeredAt;
}
